package com.cloudcc.mobile.adapter;

import android.content.Context;

import com.cloudcc.cloudframe.adapter.CommonAdapter;
import com.cloudcc.cloudframe.adapter.ViewHolder;
import com.cloudcc.mobile.R;
import com.cloudcc.mobile.entity.ContactEntity;

/** 联系人
* @Description: TODO() 
* @author wangzhiqiang
* @date 2016-3-10 下午2:59:41 
*  
*/
public class ContactListAdapter extends CommonAdapter<ContactEntity> {

	public ContactListAdapter(Context mContext) {
		super(mContext);
	}
	@Override
	public void convert(ViewHolder h, ContactEntity t) {
		h.setText(R.id.title, t.getName());
		h.setSrc(R.id.imageView1, R.drawable.contact);
	}

	@Override
	public int getLayoutId() {
		return R.layout.lead_list_item;
	}
}

